package com.societyGames.flashForms
{
	public class DockUnitType
	{
		public static const percent:DockUnitType = new DockUnitType("percent");
		public static const pixel:DockUnitType = new DockUnitType("pixel");		
		private static var isInitialized:Boolean = false;		
		//Static constructor
		{
			isInitialized = true;
		}
		
		private var _text:String;
		
		public function DockUnitType(text:String)
		{
			if (isInitialized)
			{
				throw new Error("Cannot instantiate new enum.");
			}
			this._text = text;
		}
	}
}